<?php

namespace Lims\MainBundle\Entity;

use Doctrine\ORM\Mapping as ORM;

/**
 * UsersDetail
 */
class UsersDetail
{
    /**
     * @var integer
     */
    private $id;

    /**
     * @var string
     */
    private $familyName;

    /**
     * @var string
     */
    private $firstName;

    /**
     * @var string
     */
    private $imageUrl;

    /**
     * @var string
     */
    private $lastName;

    /**
     * @var integer
     */
    private $positionId;

    /**
     * @var string
     */
    private $positionName;

    /**
     * @var \Lims\MainBundle\Entity\Customer
     */
    private $customer;

    /**
     * @var \Lims\MainBundle\Entity\Users
     */
    private $user;


    /**
     * Get id
     *
     * @return integer 
     */
    public function getId()
    {
        return $this->id;
    }

    /**
     * Set familyName
     *
     * @param string $familyName
     * @return UsersDetail
     */
    public function setFamilyName($familyName)
    {
        $this->familyName = $familyName;

        return $this;
    }

    /**
     * Get familyName
     *
     * @return string 
     */
    public function getFamilyName()
    {
        return $this->familyName;
    }

    /**
     * Set firstName
     *
     * @param string $firstName
     * @return UsersDetail
     */
    public function setFirstName($firstName)
    {
        $this->firstName = $firstName;

        return $this;
    }

    /**
     * Get firstName
     *
     * @return string 
     */
    public function getFirstName()
    {
        return $this->firstName;
    }

    /**
     * Set imageUrl
     *
     * @param string $imageUrl
     * @return UsersDetail
     */
    public function setImageUrl($imageUrl)
    {
        $this->imageUrl = $imageUrl;

        return $this;
    }

    /**
     * Get imageUrl
     *
     * @return string 
     */
    public function getImageUrl()
    {
        return $this->imageUrl;
    }

    /**
     * Set lastName
     *
     * @param string $lastName
     * @return UsersDetail
     */
    public function setLastName($lastName)
    {
        $this->lastName = $lastName;

        return $this;
    }

    /**
     * Get lastName
     *
     * @return string 
     */
    public function getLastName()
    {
        return $this->lastName;
    }

    /**
     * Set positionId
     *
     * @param integer $positionId
     * @return UsersDetail
     */
    public function setPositionId($positionId)
    {
        $this->positionId = $positionId;

        return $this;
    }

    /**
     * Get positionId
     *
     * @return integer 
     */
    public function getPositionId()
    {
        return $this->positionId;
    }

    /**
     * Set positionName
     *
     * @param string $positionName
     * @return UsersDetail
     */
    public function setPositionName($positionName)
    {
        $this->positionName = $positionName;

        return $this;
    }

    /**
     * Get positionName
     *
     * @return string 
     */
    public function getPositionName()
    {
        return $this->positionName;
    }

    /**
     * Set customer
     *
     * @param \Lims\MainBundle\Entity\Customer $customer
     * @return UsersDetail
     */
    public function setCustomer(\Lims\MainBundle\Entity\Customer $customer = null)
    {
        $this->customer = $customer;

        return $this;
    }

    /**
     * Get customer
     *
     * @return \Lims\MainBundle\Entity\Customer 
     */
    public function getCustomer()
    {
        return $this->customer;
    }

    /**
     * Set user
     *
     * @param \Lims\MainBundle\Entity\Users $user
     * @return UsersDetail
     */
    public function setUser(\Lims\MainBundle\Entity\Users $user = null)
    {
        $this->user = $user;

        return $this;
    }

    /**
     * Get user
     *
     * @return \Lims\MainBundle\Entity\Users 
     */
    public function getUser()
    {
        return $this->user;
    }
}
